package site.yunnong.atvris.dao.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import site.yunnong.atvris.dao.domain.VideoRecommend;
import site.yunnong.atvris.dao.domain.VideoRecommendExample;

@Mapper
public interface VideoRecommendMapper {
    long countByExample(VideoRecommendExample example);

    int deleteByExample(VideoRecommendExample example);

    int deleteByPrimaryKey(Long id);

    int insert(VideoRecommend record);

    int insertSelective(VideoRecommend record);

    List<VideoRecommend> selectByExample(VideoRecommendExample example);

    VideoRecommend selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") VideoRecommend record, @Param("example") VideoRecommendExample example);

    int updateByExample(@Param("record") VideoRecommend record, @Param("example") VideoRecommendExample example);

    int updateByPrimaryKeySelective(VideoRecommend record);

    int updateByPrimaryKey(VideoRecommend record);
}